package com.mapbar.pay.entity;


/**
 * 激活码状态，用于获取激活码时封装返回信息
 * @date  2010-3-5  10:30:20
 * @author fengbj
 */
public class ActivationState {

    private boolean isSerial; //服务器上是否有该序列号？
    private boolean isDeviceId;  //设备码是否符合规则？
    private boolean isActive;     //是否已经激活
    private String activation;    //激活码:"HG7R-X7HY-SG6N-KJP3",
    private String activecodeDate; //激活码激活日期
    private String expiryDate;    //到期时间:"2012-12-23"

    public String getActivation() {
        return activation;
    }

    public void setActivation(String activation) {
        this.activation = activation;
    }

    

    public String getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(String expiryDate) {
        this.expiryDate = expiryDate;
    }

    public boolean isIsActive() {
        return isActive;
    }

    public void setIsActive(boolean isActive) {
        this.isActive = isActive;
    }

    public boolean isIsDeviceId() {
        return isDeviceId;
    }

    public void setIsDeviceId(boolean isDeviceId) {
        this.isDeviceId = isDeviceId;
    }

 
    public boolean isIsSerial() {
        return isSerial;
    }

    public void setIsSerial(boolean isSerial) {
        this.isSerial = isSerial;
    }

    public String getActivecodeDate() {
        return activecodeDate;
    }

    public void setActivecodeDate(String activecodeDate) {
        this.activecodeDate = activecodeDate;
    }

   

    @Override
    public String toString() {
       return "[isSerial="+isSerial+",isDeviceId="+isDeviceId+",isActive="+isActive+",activation="+activation+",activecodeDate=" + activecodeDate + ",expiryDate="+expiryDate+"]";
    }




}
